QT       += core gui network

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

CONFIG += c++17

# You can make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0

SOURCES += \
    entity/friendinfo.cpp \
    pages/Settings.cpp \
    request/filerequest.cpp \
    request/friendrequest.cpp \
    utils/DataVerification.cpp \
    component/friendsitem.cpp \
    groupchatswidget.cpp \
    main.cpp \
    pages/ChatInterface.cpp \
    pages/login.cpp \
    request/userequest.cpp \
    sendmsg.cpp

HEADERS += \
    entity/friendinfo.h \
    pages/Settings.h \
    request/filerequest.h \
    request/friendrequest.h \
    result.h \
    utils/DataVerification.h \
    component/friendsitem.h \
    groupchatswidget.h \
    pages/ChatInterface.h \
    pages/login.h \
    request/userequest.h \
    sendmsg.h

FORMS += \
    component/friendsitem.ui \
    groupchatswidget.ui \
    pages/ChatInterface.ui \
    pages/Settings.ui \
    pages/login.ui

# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target

RESOURCES += \
    icons.qrc
